package com.ibangnuo.framework.domain.request.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: wwy
 * @Date: 2019-12-31 13:55
 */
@Data
@ToString
@NoArgsConstructor
public class OrderQueryRequest {
    //当前页
    private Integer page;
    //每页显示的数据条数
    private Integer limit;
    private String sn;
    private String payType;
    private String payWay;
    private Integer status;
    private String shopId;
    private String outTradeNo;//外部订单号
    private String serialNumber;
    private Date dateTime;//当天时间
    private String commercialTenantId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
